package cz.schovjan.proj.service;

import java.util.List;

import cz.schovjan.proj.dto.Song;

/**
 * Rozhrani pro praci s pisnemi.
 * @author schovjan
 *
 */
public interface ISong {

	/**
	 * Prida pisen do systemu.
	 * @param nameCs
	 * @param nameOriginal
	 * @param author
	 * @param arrange
	 * @param description
	 */
	public void add(String nameCs, String nameOriginal, String author, String arrange,	String description);

	/**
	 * Vrati pisne ktere nejsou v repertoaru kapely.
	 * @param id kapely
	 * @return
	 */
	public List<Song> findOtherSongs(Integer id);

	/**
	 * Vrati pisen podle jejiho id.
	 * @param id
	 * @return
	 */
	public Song find(Integer id);
	
	/**
	 * Ulozi pisen po jeji editaci.
	 * @param id
	 * @param nameCs
	 * @param nameOriginal
	 * @param author
	 * @param arrange
	 * @param description
	 */
	public void save(Integer id, String nameCs, String nameOriginal, String author, String arrange,	String description);
	
}
